package com.qf.springbootproject.service.impl;

import com.qf.springbootproject.service.TestService;
import org.springframework.stereotype.Service;

@Service
public class TestServiceImpl implements TestService {
    @Override
    public void test1() {
        System.out.println("service执行了");
    }

    @Override
    public String test2() {
        System.err.println("test2方法执行了");
//        int i = 1/0;
        return "aaaaaaaa";
    }
}
